import request from '../utils/request';

export const getCode = () => request.get('/api/code')

//登录
export const login = (params) => request.post('/api/login',params)

//注册
export const registry = (params) => request.post('/api/registry',params);